#include "floor.h"

Floor::Floor(){
    /* Montar imagem deste bloco. */
    _img = Resources::instance()->image( Resources::FLOOR );
}

ALLEGRO_BITMAP* Floor::render(){
    return _img;
}

Floor::~Floor(){
    al_destroy_bitmap(_img);
}

std::string Floor::saveString(){
    std::string s;
    s+= (char) Resources::TYPE_TILE_FLOOR;
    s+= "----";
    return s;
}

Block* Floor::copy(){
    return new Floor();
}

